import axiosRequest from '@/utils/AxiosRequest';

export function obtainScreenList(params) {
  return axiosRequest({ method: 'GET', url: '/screen/list', params });
}

export function obtainScreenInfo(screenId) {
  return axiosRequest({ method: 'GET', url: '/screen/' + screenId });
}

export function saveScreenInfo(data) {
  return axiosRequest({ method: 'POST', url: '/screen/save', data: data });
}

export function changeScreenStatus(params) {
  return axiosRequest({ method: 'POST', url: '/screen/status', params });
}

export function deleteScreenInfo(screenId) {
  return axiosRequest({ method: 'POST', url: '/screen/delete?id=' + screenId });
}